package com.lc.communication.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author liuhf17
 * @version 1.0.0
 * @ClassName LcConfig.java
 * @Description 读取基本信息配置
 * @createTime 2024年06月06日 15:15:00
 */
@Data
@Component
@ConfigurationProperties(prefix = "lc", ignoreInvalidFields = true)
public class LcConfig {

    //代理配置
    private String proxyRequestType;


    //服务端配置

    private boolean serverStart;

    private int serverPort;


    //客户端配置
    private String serverHost;

    private boolean clientStart;

    private int clientPort;

    private String clientName;
}
